<?php

namespace App\Models\kly;

use App\Models\kly\Kly_record;
use Illuminate\Database\Eloquent\Model;
use Encore\Admin\Traits\AdminBuilder;

class Kly_notice extends Model
{
	public $timestamps = false;
    protected $fillable = [
        'notice_type', 'event', 'starttime','endtime','status','camp_id','tutor_id','aids','operatetime','type','total_score'
    ];
    protected $table = 'kly_notice';

    public function Kly_record()
    {
        return $this->hasMany(Kly_record::class,'notice_id');
    }
}
